package com.cc.blog.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cc.blog.common.model.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 知识库表
 * @author cc
 * @date 2024/10/3 10:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@TableName("t_wiki")
public class WikiDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Long id;
    /** 标题 */
    private String title;
    /** 封面 */
    private String cover;
    /** 摘要 */
    private String summary;
    /** 权重 */
    private Integer weight;
    /** 是否发布 */
    private Boolean isPublish;
}
